/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package server;

import java.util.Random;

/**
 *
 * @author jeison
 */
public class Roleta {
    private int idRoleta;
    private int[] valor={0,100,200,300,400,500,600,700,800,900,1000};   
    
    /*
     * Retorna um valor do prêmio como se a roleta fosse girada.
     */
    public int giraRoleta(){
        Random randomGenerator = new Random();
        int randomInt = randomGenerator.nextInt(10);
        return valor[randomInt];
    }
}
